import axios from "./httpRequest"

let baseUrl = (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl)


// 全局基础信息配置 - 渠道管理 - 列表项
export const GetProjectList = (params) => axios.get(baseUrl + "/cms/channel/list", { params })
// 全局基础信息配置 - 产品管理 - 列表项
export const GetProductList = (params) => axios.get(baseUrl + "/cms/product/list", { params })
// 获取全部CP商信息
export const GetCpInformation = (params) => axios.get(baseUrl + "/resourcesMgt/cpbusiness/list", { params })